//
//  ZCItenCell.m
//  zctx
//
//  Created by 郭亚京 on 15/10/12.
//  Copyright © 2015年 sanliang. All rights reserved.
//

#import "ZCItenCell.h"
@interface ZCItenCell()

@property (strong, nonatomic) IBOutlet UIButton *buttonDetail;

@end

@implementation ZCItenCell

- (void)awakeFromNib {
    // Initialization code
    if (SCREEN_WIDTH>320) {
        self.detailWidth.constant = 70;
    }
    [self.selectImgView setImage:[UIImage imageNamed:@"Pay_select_n"]];
    self.moneyLable.textColor = [UIColor colorWithHexString:@"#ff3d3d"];
    [self.contentView setUserInteractionEnabled: NO];

}

-(void)setdictpages:(NSDictionary *)dicpage andWith:(NSIndexPath *)indexpath{
}

- (IBAction)selectButtonClick:(id)sender {
    NSLog(@"sdfsdf");
}

-(void)setIndexPath:(NSIndexPath *)indexPath{
    _indexPath = indexPath;
}

- (IBAction)detailButtonClik:(id)sender {
    if ([self.delegate  respondsToSelector:@selector(celldetailsPath:)]) {
        [self.delegate celldetailsPath:self.indexPath];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    
    [super setSelected:selected animated:animated];
    
    if (selected) {
        [self.selectImgView setImage:[UIImage imageNamed:@"Pay_select_p"]];
    } else {
        [self.selectImgView setImage:[UIImage imageNamed:@"Pay_select_n"]];
    }

    // Configure the view for the selected state
}

@end
